public class Client {
    public static void main(String[] args) {
        Implementor implementorA = new ConcreteImplementorA();
        Implementor implementorB = new ConcreteImplementorB();

        // 使用 RefinedAbstraction 代替 Abstraction 进行实例化
        Abstraction abstraction = new RefinedAbstraction(implementorA); // 或者其他非抽象的子类
        abstraction.operation();

        RefinedAbstraction refinedAbstraction = new RefinedAbstraction(implementorB);
        refinedAbstraction.operation();
    }
}